.message {
  margin: 5px;
  padding: 20px;
  font-weight: bold;
}

.warning {
  @extend .message;
  color: yellow;
}

.error {
  @extend .message;
  color: red;
}